Micron Document




Python (programming language)
part 46/106 · 174.3 KB total
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• The Python → 11l → C++ transpilercite-ref-155[152] compiles a subset of Python 3 to C++ (C++17).

There are also specialized compilers:

MyHDL is a Python-based hardware description language (HDL) that converts MyHDL code to Verilog or VHDL code.

Some older projects existed, as well as compilers not designed for use with Python 3.x and related syntax:

• Google's Grumpy transpiles Python 2 to Go.cite-ref-156[153]cite-ref-157[154]cite-ref-158[155] The latest release was in 2017.
IronPython allows running Python 2.7 programs with the .NET Common Language Runtime.cite-ref-159[156] An alpha version (released in 2021), is available for "Python 3.4, although features and behaviors from later versions may be included."cite-ref-160[157]
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────